package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.Visit;
import com.ruoyi.business.qo.VisitQO;
import com.ruoyi.business.vo.VisitVO;
import org.apache.ibatis.annotations.Param;


public interface VisitMapper extends BaseMapper<Visit> {
    int deleteByPrimaryKey(Integer vId);

    int insertSelective(Visit record);

    Visit selectByPrimaryKey(Integer vId);

    int updateByPrimaryKeySelective(Visit record);

    int updateByPrimaryKey(Visit record);

    IPage<VisitVO> queryPage(@Param("page") Page page, @Param("visitQO") VisitQO visitQO);
}